• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

Wrapper Class

[Java] boxing : wrapper class

wrapper class 기본형(Primitive type)을 참조형(Reference type)으로 바꾸고 싶을 때 Wrapper class를 활용합니다. 그리고 이러한 행위를 박싱(boxing)이라고 합니다. 반대로 Wrapper class로 바꾼 변수를 다시 기본형으로 바꾸는 것은 언박싱(unboxing)이라고 합니다. 기본형과 래퍼클래스의 매핑은 아래와 같습니다. 연산 서로 대응되는 ...

JavaBoxingWrapper ClassBoxing

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more